home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / unix / textmstr.shr / tm.hqx / Source Code ƒ / P / PCommonTextMaster.c < prev    next >
Text File  |  1991-05-09  |  2KB  |  50 lines

  1. /*   PCommonTextMaster                                                 Common
  2.  
  3. Name:  PCommonTextMaster.c  
  4. Function:  Common for the Prototyper specific code.
  5. History: 5/9/91 Original by Prototyper 3.0
  6. */
  7.  
  8.  
  9. #include "PCommonTextMaster.h"    /* Common */
  10.  
  11. /* ======================================================= */
  12.  
  13.  
  14.  
  15. UserEventHRec UserEventList;                                            /* User Event record list start */
  16. EventRecord myEvent;                                                     /* Event record for all events */
  17. Boolean WNE;                                                                 /* WaitNextEvent trap is available */
  18. short SleepValue;                                                            /* Sleep value for Wait on events */
  19. Boolean doneFlag;                                                            /* Exit program flag */
  20. TEHandle theInput;                                                           /* Used in text edit selections */
  21. Rect tempRect;                                                              /* Temporary rect, not for long term use */
  22. Str255 sTemp;                                                              /* Temporary string, not for long term use */
  23. Boolean  HasColorQD;                                                       /* Flag for Color QuickDraw being available */
  24. Boolean  HasFPU;                                                             /* Flag for Floating Point Math Chip being available */
  25. Boolean  InTheForeground;                                                 /* Flag for running in MultiFinder foreground */
  26. short  tempChar;                                                             /*Temporary use character*/
  27. SFTypeList typeList;                                                        /* For use in opening files */
  28. OSErr  ErrorCode;                                                           /* For use in reading and writing files */
  29. SFReply Reply;                                                               /* For use in getting file names */
  30. short inputRefNum;                                                         /* For the input file */
  31. short outputRefNum;                                                        /* For the output file */
  32. Str255 inputFileName;                                                     /* For the input file */
  33. Str255 outputFileName;                                                    /* For the output file */
  34.  
  35. MenuHandle    Menu_Apple;                                                 /* Menu handle */
  36. MenuHandle    Menu_File;                                                   /* Menu handle */
  37. MenuHandle    Menu_Edit;                                                  /* Menu handle */
  38.  
  39. /* Variables for the modal dialog titled  "About_Dialog" */
  40.  
  41. /* Variables for the modal dialog titled  "Help_window" */
  42.  
  43. /* Variables for the modal dialog titled  "Help_window_2" */
  44.  
  45.  
  46.  
  47. /* ======================================================= */
  48.  
  49.  
  50.